Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Feb 1, 2025

No description provided.

@dnhatn dnhatn changed the title Track posting bytes in memory Track in memory postings bytes Feb 1, 2025
@dnhatn dnhatn force-pushed the record-total-term-length branch from 90c0ec0 to 76ae564 Compare February 1, 2025 02:29
@dnhatn dnhatn force-pushed the record-total-term-length branch from 76ae564 to 276464d Compare February 1, 2025 03:53
jordan-powers added a commit to jordan-powers/elasticsearch that referenced this pull request Jun 24, 2025
Mostly copied from Nhat's implementation in elastic#121476
@dnhatn dnhatn closed this Jun 25, 2025
@dnhatn dnhatn deleted the record-total-term-length branch June 25, 2025 00:30
jordan-powers added a commit that referenced this pull request Jul 10, 2025
This patch adds a field postingsInMemoryBytes to the ShardFieldStats record
which tracks the memory usage of the min and max posting, which are stored
in-memory by the postings FieldReader. This postingsInMemoryBytes value is
then used by the serverless autoscaler to better estimate
memory requirements.

Most of this was already done by @dnhatn in #121476, but was never merged.
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
This patch adds a field postingsInMemoryBytes to the ShardFieldStats record
which tracks the memory usage of the min and max posting, which are stored
in-memory by the postings FieldReader. This postingsInMemoryBytes value is
then used by the serverless autoscaler to better estimate
memory requirements.

Most of this was already done by @dnhatn in elastic#121476, but was never merged.
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
This patch adds a field postingsInMemoryBytes to the ShardFieldStats record
which tracks the memory usage of the min and max posting, which are stored
in-memory by the postings FieldReader. This postingsInMemoryBytes value is
then used by the serverless autoscaler to better estimate
memory requirements.

Most of this was already done by @dnhatn in elastic#121476, but was never merged.
@javanna javanna removed the v9.1.0 label Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants